#include <QtGui/QApplication>
#include "mainwindow.h"

#include "capturedevice.h"
#include <boost/thread.hpp>

using namespace openni;


int main(int argc, char *argv[])
{
//    CaptureDevice::initialize();
//    CaptureDevice c = CaptureDevice();

    //boost::thread workerThread(&CaptureDevice::startStream, &c);
    //c.startStream();

    //sleep(10);

    //sleep(30);
    //c.stopStream();


    QApplication a(argc, argv);
    MainWindow w;
    w.show();

    return a.exec();
}
